package com.jin.webvideo.base.rpc;

import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Import(RpcRegister.class)
public @interface EnableRpc {
    String[] basePackage();
    String httpClient() default "httpClient";
    // yml环境
    String environment() default "environment";
}
